{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <title>Title</title>
</head>
<body>
<div class="bs-example" data-example-id="simple-nav-pills">
    <ul class="nav nav-pills">
        <li role="presentation" class="active"><a href="{% url 'app1:login_out' %}">退出</a></li>
    </ul>
</div>

<div class="bs-example" data-example-id="bordered-table">
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>#</th>
            <th>用户名</th>
            <th>上次登陆时间</th>
        </tr>
        </thead>
        <tbody>
        {% for x in info %}
            <tr>
                <th scope="row">{{ x.id }}</th>
                <td>{{ x.username }}</td>
                <td>{{ x.last_login }}</td>
            </tr>
        {% endfor %}

        </tbody>
    </table>
</div>
</body>
</html>